import {createApp} from 'vue';
import {App} from './App';
import Plain, {PlIcon, PlRoot} from 'plain-ui';
import 'plain-ui/dist/plain-ui.min.css';
import '../../main.scss';
import '../plain-init/index';

PlIcon.registry('plicon', icon => {
  return <i class={`pl-icon-font ${icon}`}/>;
});

createApp(<PlRoot><App/></PlRoot>).use(Plain).mount('#app');
